//
//  User.h
//  iOS
//
//  Created by gongkai on 15/1/20.
//  Copyright (c) 2015年 mokai. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface User : BaseModel
@property(nonatomic,assign) int uid;
@property(nonatomic,copy) NSString *uname;
@property(nonatomic,copy) NSString *pwd;

/**
 *  登录
 *
 *  @param uname
 *  @param pwd   明文传进
 *  @param ok
 *  @param no
 */
-(void)loginWithUname:(NSString *)uname pwd:(NSString *)pwd ok:(HttpOKBlock)ok no:(HttpNOBlock)no;


@end
